Skip to content

KUBESAW-201: Replace go-bindata with go:embed #1161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 2, 2025

Conversation

fbm3307
Copy link
Contributor

@fbm3307 fbm3307 commented Mar 21, 2025

We want to replace go-bindata with go:embed so that we don't rely on 3rd party libraries and use functionality provided as part of Go itself.

This PR is 2nd PR in the series and succeeds PR - #1158 .
This is for converting usertiers to use goembed instead of assets

Signed-off-by: Feny Mehta <fbm3307@gmail.com>
@fbm3307
Copy link
Contributor Author

fbm3307 commented Mar 21, 2025

Will try to add some more failure unit test cases

Signed-off-by: Feny Mehta <fbm3307@gmail.com>
Signed-off-by: Feny Mehta <fbm3307@gmail.com>
Copy link

sonarqubecloud bot commented Apr 1, 2025

Copy link

codecov bot commented Apr 1, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 10 lines in your changes missing coverage. Please review.

Project coverage is 83.51%. Comparing base (ce0f8fc) to head (571d03b).

Files with missing lines Patch % Lines
pkg/templates/usertiers/usertier_generator.go 66.66% 7 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1161      +/-   ##
==========================================
- Coverage   83.75%   83.51%   -0.24%     
==========================================
  Files          82       82              
  Lines        7929     7948      +19     
==========================================
- Hits         6641     6638       -3     
- Misses       1091     1107      +16     
- Partials      197      203       +6     
Files with missing lines Coverage Δ
pkg/templates/usertiers/usertier_generator.go 65.78% <66.66%> (-12.41%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

openshift-ci bot commented Apr 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fbm3307, MatousJobanek, metlos

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [MatousJobanek,fbm3307,metlos]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fbm3307 fbm3307 merged commit d7cb282 into codeready-toolchain:master Apr 2, 2025
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants